]> dgit.raspbian.org Git - gnome-shell.git/commit
fileUtils: Do not follow symlinks
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 5 Dec 2022 12:56:57 +0000 (13:56 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 15 Dec 2022 22:34:26 +0000 (22:34 +0000)
commit1a9e072ca000c4033bf0c5be8facaced341206d8
tree1744bf6b1031e2757409fb04529412951bccd9b0
parent69600f3bfd50a621daa6f87c541a39dcd80d15f3
fileUtils: Do not follow symlinks

Extensions should not include symlinks, in particular ones that
point outside the extension directory. However if they do, then
we should only move/remove the link rather than the files it
points to.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6182

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2571>
js/misc/fileUtils.js